package com.weiyv.Updater;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class BootReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        //Toast.makeText(context,"onReceive",Toast.LENGTH_SHORT).show();
        Intent it = new Intent(Intent.ACTION_RUN);
        it.setClass(context, WeiyvService.class);
        context.startService(it);
    }
}